package com.longcai.cm.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.longcai.cm.excel.anno.ExcelExport;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author LBX
 * @since 2024-10-18
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("v_member_vip_list")
@ApiModel(value = "VMemberVipList对象", description = "VIEW")
public class VMemberVipList implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("id")
    private String id;

    @ApiModelProperty("昵称")
    @TableField("wxname")
    @ExcelExport(value = "昵称",sort = 1)
    private String wxname;

    @ApiModelProperty("姓名")
    @TableField("userName")
    @ExcelExport(value = "用户名",sort = 2)
    private String userName;

    @ApiModelProperty("头像")
    @TableField("avatar")
    private String avatar;

    @ApiModelProperty("手机号")
    @TableField("mobile")
    @ExcelExport(value = "手机号",sort = 5)
    private String mobile;

    @ApiModelProperty("会员名称")
    @TableField("vipName")
    @ExcelExport(value = "会员名称",sort = 6)
    private String vipName;

    @ApiModelProperty("会员等级")
    @TableField("level")
    @ExcelExport(value = "会员等级",sort = 4 ,kv = "1-体验会员;2-正式会员" )
    private Integer level;

    @ApiModelProperty("过期时间")
    @TableField("expire_time")
    @ExcelExport(value = "过期时间",sort = 3)
    private String expireTime;


    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @ExcelExport(value = "创建时间",sort = 7)
    private String createTime;


}
